<!-- inc:head -->
<div id="body">
	<div id="left">
		<!-- run:$left_catelist = phpok('catelist','cid='.$rs[id]) -->
		<ul class="border catelist">
			<!-- $left_catelist[rslist] AS $key=>$value -->
			<li>&nbsp;<img src="images/default/catepre.gif" align="absmiddle"> <a href="{:site_url('list','cid='.$value[id])}"{if($value[id] == $rs[id])} style="color:red;"{end}>{:$value[cate_name]}</a></li>
			<!-- end -->
		</ul>
		<div class="space"></div>
		<div id="user_cp"><div class="loading"></div></div>
		<div class="block-title" style="margin-top:5px;">{:$_lang[vouch_title]}</div>
		<div class="block-msg">
			<ul>
				<!-- run:$list = phpok('vouch','cid='.$rs[id]) -->
				<!-- $list[rslist] AS $key=>$value -->
				<li style="padding-left:40px;"><a href="{:msg_url($value)}"{if($value[id] == $rs[id])} style="color:red;"{end}>{:$value[title]}</a></li>
				<!-- end -->
				<!-- run:unset($list) -->
			</ul>
		</div>
		<!-- inc:incsearch -->
	</div>
	<div id="right">
		<div class="block-title">{:$rs[cate_name]}</div>
		<div class="block-msg">
			<!-- $rslist AS $key=>$value -->
			<!-- run:$thumfile = $value[u_filename] && file_exists($value[u_filename]) ? $value[u_filename] : 'images/default/nopicture.gif' -->
			<div class="list_out" onmouseover="this.className='list_over'" onmouseout="this.className='list_out'">
				<table cellpadding="0" cellspacing="0">
				<tr>
					<td width="120px" align="center"><a href="{:site_url('msg','id='.$value[id])}" title="{:$value[title]}"><img src="{:$thumfile}" border="0" width="100px" height="100px" style="border:1px #D2DFE6 solid;"></a>
					</td>
					<td valign="top" width="600px">
						<div class="wtr">名称：<a href="{:site_url('msg','id='.$value[id])}" title="{:$value[title]}" style="{:$value[style]}">{:$value[title]}</a><!-- if($value[virtual]) --><span class="red">（虚拟产品）</span><!-- end --></div>
						<div class="dtr">规格：{:$value[standard]}</div>
						<div class="wtr">编号：{:$value[pronum]}</div>
						<div class="dtr">售价：{:sys_format_price($value[price])} 元</div>
						<div class="pro_dtr">{:$value[note]}</div>
						<div class="pro_tr" align="right">
							<a href="{:site_url('msg','id='.$value[id])}"><img src="images/default/info.gif" border="0"></a>
							<a href="javascript:addcart('{:$value[id]}');void(0);"><img src="images/default/buy.gif" border="0"></a>
						</div>
					</td>
				</tr>
				</table>
			</div>
			<!-- end -->
			
			{if($pagelist && is_array($pagelist) && count($pagelist)>0)}
			<div align="right">
				<table class="pagelist">
				<tr>
					<!-- $pagelist AS $key=>$value -->
					<td><a href="{:$value[url]}" class="{:$value[status] ? 'm' : 'n'}">{:$value[name]}</td>
					<!-- end -->
				</tr>
				</table>
			</div>
			{end}
		</div>
	</div>
	<div class="space clear"></div>
</div>
<script type="text/javascript">
func_php("usercp",js_usercp,"user_cp");
</script>
<!-- inc:foot -->